<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>首页</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, user-scalable=no">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta name=”apple-mobile-web-app-status-bar-style” content=”default”/>
    <meta name=”apple-mobile-web-app-status-bar-style” content=”black”/>
    <meta name=”apple-mobile-web-app-status-bar-style” content=”black-translucent”/>
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <meta name="format-detection" content="telephone=no"/>
    <script type="text/javascript" src="${s.base}/mobile/js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="${s.base}/mobile/js/fontSize.js"></script>
    <link rel="stylesheet" href="${s.base}/mobile/css/weui.min.css"/>
    <link rel="stylesheet" href="${s.base}/mobile/css/jquery-weui.css">
    <link rel="stylesheet" href="${s.base}/mobile/css/indexyq.css?123456789"/>
</head>
<body>
<div class="content2">
    <div class="content2-nei">
        <div class="block-nei-cont">
            <div class="block-mid-cont clearfix">
                <ul>
                    <#if communityType == '1'>
                    <li class="bg-green wcdj">
                        <div class="iconimg"><img src="${s.base}/mobile/images/wcdj.png"></div>
                        <h1>外出登记</h1>
                    </li>
                    <li class="bg-blue jrdj">
                        <div class="iconimg"><img src="${s.base}/mobile/images/jrdj.png"></div>
                        <h1>进入登记</h1>
                    </li>
                    <#elseif communityType =='2'>
                    <li class="bg-blue jrdj">
                        <div class="iconimg"><img src="${s.base}/mobile/images/jrdj.png"></div>
                        <h1>进入登记</h1>
                    </li>
                    <li class="bg-green wcdj">
                        <div class="iconimg"><img src="${s.base}/mobile/images/wcdj.png"></div>
                        <h1>外出登记</h1>
                    </li>
                    </#if>
                    <li class="bg-orange twsb">
                        <div class="iconimg"><img src="${s.base}/mobile/images/tesb.png"></div>
                        <h1>体温上报</h1>
                    </li>
                    <li class="bg-green-dark zcdj">
                        <div class="iconimg"><img src="${s.base}/mobile/images/zcdj.png"></div>
                        <h1>注册登记</h1>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="${s.base}/mobile/js/common.js"></script>
<script type="text/javascript" src="${s.base}/mobile/js/jquery-weui.js"></script>
<script>
    $(function () {
        $(".wcdj").bind("click", function () {
            $.confirm("确定现在外出吗？", '提示', function () {
                if ('${communityType}' === '1') {
                    window.location.href = "/phone/antiepidemic/record/out?token=${token}&applyId=${applyId}&personId=${personId}";
                } else if ('${communityType}' === '2') {
                    window.location.href = "/phone/antiepidemic/record/work/out?token=${token}&applyId=${applyId}&personId=${personId}";
                }
            });
        });

        $(".jrdj").bind("click", function () {
            $.confirm("确定现在进入吗？", '', function () {
                if ('${communityType}' === '1') {
                    window.location.href = "/phone/antiepidemic/record/back?token=${token}&applyId=${applyId}&personId=${personId}";
                } else if ('${communityType}' === '2') {
                    window.location.href = "/phone/antiepidemic/record/work/back?token=${token}&applyId=${applyId}&personId=${personId}";
                }
            });
        });

        $(".twsb").bind("click", function () {
            window.location.href = "/phone/antiepidemic/temperature?token=${token}&applyId=${applyId}&personId=${personId}&communityId=${communityId}";
        });

        $(".zcdj").bind("click", function () {
            window.location.href = "/phone/antiepidemic/registerDetail?token=${token}&applyId=${applyId}&personId=${personId}";
        });
    })
</script>
</html>